package com.woniuxy.cloud.carl.marketing.service;

import com.woniuxy.cloud.carl.marketing.client.param.AddScoreMallParam;
import com.woniuxy.cloud.carl.marketing.client.param.ExchangeGoodsParam;
import com.woniuxy.cloud.carl.marketing.client.result.ScoreLogDto;
import com.woniuxy.cloud.carl.marketing.infra.model.ScoreMall;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.carl.marketing.service.servicedto.ScoreMallServiceDto;
import com.woniuxy.result.Result;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 积分商城表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface ScoreMallService extends IService<ScoreMall> {
    Result addScoreMall(AddScoreMallParam param);
    Result delScoreMall(Long scoreMallGoodsId);
    Result exchangeGoods(ExchangeGoodsParam param);
    ScoreMallServiceDto getScoreMall();
    Result<List<ScoreLogDto>> getMyScoreLog(Long userId);
}
